package com.string;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class StringInSwitch {
public static void main(String[] args)throws Exception {
	BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	System.out.println("Enter you choice");
	String choice=br.readLine();
	switch(choice){
	
	case "cricket":
		System.out.println("you have chose Cricket");
		break;
	
	case "football":
	System.out.println("you have chose football");
	break;

	case "chess":
	System.out.println("you have chose chess");
	break;

	case "basketball":
	System.out.println("you have chose basketball");
	break;
	
	default :
		System.out.println("wrong choice");
}
}
}
